package com.design_pattern.bridge;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Triangle implements IShape{

    private IColor color;

    public void setColor(IColor color){
        this.color = color;
    }

    @Override
    public void drow() {
      log.info("Triangle color is {}",color.getColor());
    }
}
